import { stringify } from 'qs';
import request from '../utils/request';

export async function getUploadToken(params) {
  return request(`/api/oss/token?${stringify(params)}`);
}

function getFileUploadPath() {
  return "/api/userDetails/fileUpload";
}
